package com.trailwalker.javafx.core.entity;

import com.trailwalker.javafx.core.activity.Activity;

/**
 * @author Trailwalker
 * @create 2021-11-11 16:55
 */
public class Intent {
    Class<? extends Activity> activityClass;
    Bundle bundle;

    public Intent(Class<? extends Activity> activityClass) {
        this.activityClass = activityClass;
    }

    public Intent(Class<? extends Activity> activityClass, Bundle bundle) {
        this.activityClass = activityClass;
        this.bundle = bundle;
    }

    public Class<? extends Activity> getActivityClass() {
        return activityClass;
    }

    public Bundle getBundle() {
        return bundle;
    }

    public void setBundle(Bundle bundle) {
        this.bundle = bundle;
    }
}
